package com.wanma.annotaion;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@SetTable("user_table")
public class User {
	@SetPropertity(value="user_name",length = 10)
	private String name;
	@SetPropertity(value="user_age",length = 10)
	private String age;
}

@Retention(RetentionPolicy.RUNTIME)
@interface SetTable {
	String value();
}